export enum TILE_TYPE_ENUM {
   WALL = 'WALL',
   SLOPE = 'SLOPE'
}
export enum EVENT_ENUM {
   NEXT_LEVEL = "NEXT_LEVEL",
   PLAY_CTRL = "PLAY_CTRL",
   RUNNING_LEFT = "RUNNING_LEFT",
   RUNNING_IDLE = "RUNNING_IDLE",
   RUNNING_RIGHT = "RUNNING_RIGHT",
   CHANGE_ROLE = "CHANGE_ROLE",
   RUNNING_JUMP = "RUNNING_JUMP",
   RESTRAT_GAME = "RESTRAT_GAME"
}

export enum FSM_PARAMS_TYPE_ENUM {
   TRIGGER = "TRIGGER",
   NUMBER = "NUMBER"
}

export enum PARAME_NAME_ENUM {
   IDLE = "idle", //空闲的
   DIZZY = "dizzy",
   WIN = "win",
   TOP = "top",
   LEFT = "left",
   RIGHT = "right",
   BOTTOM = "bottom",
   TOPEAT = "top_eat",
   LEFTEAT = "left_eat",
   RIGHTEAT = "right_eat",
   BOTTOMEAT = "bottom_eat",
   TOPPROCESS = "top_process",
   LEFTPROCESS = "left_process",
   RIGHTPROCESS = "right_process",
   BOTTOMPROCESS = "bottom_process",
}

// 方向
export enum DIRECTION_ENUM {
   TOP = "top",
   BOTTOM = "bottom",
   LEFT = "left",
   RIGHT = "right"
}
// 普通怪物状态
export enum ENEMY_NAME_ENUM {
   IDLE = "idle", //空闲的
   LEFT = "left",
   RIGHT = "right",
   TOP = "top",
   BOTTOM = "bottom",
   TOPDIZZY = "top_dizzy",
   BOTTOMDIZZY = "bottom_dizzy",
   RIGHTDIZZY = "right_dizzy",
   LEFTDIZZY = "left_dizzy",
}
// 躲避起来的怪物状态
export enum HELMET_NAME_ENUM {
   IDLE = "idle", //空闲的
   LEFT = "left",
   RIGHT = "right",
   TOP = "top",
   BOTTOM = "bottom",
   LEFTAVOID = "left_avoid",//躲避
   TOPAVOID = "top_avoid",//躲避
   RIGHTAVOID = "right_avoid",//躲避
   BOTTOMAVOID = "bottom_avoid",//躲避
   TOPDIZZY = "top_dizzy",
   BOTTOMDIZZY = "bottom_dizzy",
   RIGHTDIZZY = "right_dizzy",
   LEFTDIZZY = "left_dizzy",
}
// 会飞的怪物
export enum LEAPING_NAME_ENUM{
   IDLE = "idle", //空闲的
   TOP = "top",
   LEFT = "left",
   RIGHT = "right",
   BOTTOM = "bottom",
   TOPFLY  = "top_fly",
   LEFTFLY  = "left_fly", //冲刺
   RIGHTFLY  = "right_fly",
   BOTTOMFLY = "bottom_fly",
   TOPDIZZY = "top_dizzy",
   LEFTDIZZY = "left_dizzy", 
   RIGHTDIZZY = "right_dizzy",
   BOTTOMDIZZY = "bottom_dizzy",
   TOPFLYEND  = "top_fly_end",
   LEFTFLYEND  = "left_fly_end",
   RIGHTFLYEND  = "right_fly_end",
   BOTTOMFLYEND  = "bottom_fly_end",
   TOPFLYING  = "top_fly_ing",
   LEFTFLYING  = "left_fly_ing",
   RIGHTFLYING  = "right_fly_ing",
   BOTTOMFLYING  = "bottom_fly_ing",
} 
// 骷髅怪
export enum CHARGING_NAME_ENUM {
   IDLE = "idle", //空闲的
   LEFT = "left",
   RIGHT = "right",
   TOP = "top",
   BOTTOM = "bottom",
   LEFTRUN = "left_run", //冲刺
   RIGHTRUN = "right_run",
   TOPRUN = "top_run",
   BOTTOMRUN = "bottom_run",
   TOPDIZZY = "top_dizzy",
   BOTTOMDIZZY = "bottom_dizzy",
   RIGHTDIZZY = "right_dizzy",
   LEFTDIZZY = "left_dizzy",
}
// 吞食状态
export enum EAT_STATUS_ENUM {
   EMPTY = "empty",
   STONE = "stone",//石头
   HEAVY = "heavy", //沉重的石头
   BRICK = "brick",//砖块
   JELLY = "jelly", //果冻
   BOMB = "bomb",//炸弹
}
// 玩家
export enum PLAYER_ENUM {
   BLUE = "blueLead",
   GREEN = "greenLead"
}

// 游戏模式
export enum GAME_MODE_ENUM {
   SINGLE = 0,
   DOUBLE = 1,
   ONLINE = 2
}

export enum PHY_GROUP {
   DEFAULT = 1 << 0,
   SELF_PLANE = 1 << 1,
   NPC_PLANE = 1 << 2,
   DIZZY_PLANE = 1 << 3
};

export enum SOCKET_TYPE {
   OK="ok",//双方同步完成,正式开始游戏
   PING='ping',//获取网络延时
   GAMEOVER='gameover',//游戏结束
   SUCCESS='success',//游戏成功
   OFFLINE='otherOffline',//游戏成功
   ONLINE='otherOnline',//游戏成功
   FAIL='fail',//游戏失败
   KEYUP='onKeyUp',//键盘抬起
   KEYDOWN="onKeyDown",//键盘按下
   ASYNC='async',//同步房间信息
   INIT='init',//初始化房间信息
   CHANGELEVEL='changeLevel',//选择关卡
   JOINROOM="joinRoom",//加入房间
   STARTGAME="startGame",//开始游戏
   SELECTLEVEL="selectLevel",//关卡选择,弹出关卡选择弹框
   LEVELROOM="leaveRoom",//离开房间
   CHANGEREADY="changeReady",//修改准备状态
   CLEAR="clear",//超时未开始解散房间
   DISSOLVEROOM="dissolveRoom",//解散房间
   JOYSTICK="JoyStick",
   JOYSTICKEND="JoyStickend",
   JOYSTICKEAT="JoyStickeat",
};